package com.xinqi.modules.sys.textbook.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinqi.common.mybatis.data.entity.UpdateTimeEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * 云课本章节目录实体层
 *
 * @author: linkai
 * @date: 2023/04/25
 */
@Setter
@Getter
@TableName("ct_cloud_textbook_catalog")
public class CloudTextbookCatalogEntity extends UpdateTimeEntity {
    /**
     * 云课本id
     */
    @TableField(value = "cloud_textbook_id")
    private Long cloudTextbookId;
    /**
     * 名称
     */
    @TableField(value = "name")
    private String name;
    /**
     * 排序
     */
    @TableField(value = "sort")
    private Integer sort;
    /**
     * 顶级父id
     */
    @TableField(value = "sid")
    private Long sid;
    /**
     * 父id
     */
    @TableField(value = "pid")
    private Long pid;
    /**
     * 文件路径，例如：/xxx/xxx
     */
    @TableField(value = "path")
    private String path;
    /**
     * 路径层级
     */
    @TableField(value = "level")
    private Integer level;
    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
}
